CREATE TABLE IF NOT EXISTS messages(
    event_id TEXT NOT NULL,
    userpost_id INTEGER NOT NULL REFERENCES(userposts(pid)),
    sent TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP,
);